
<div class="layer_container">
	<div class="body_container_table">
		<div class="main_content">
			<div class="main-table-container" style="top: 0;bottom:0">
				<table class="table table-striped table-hover table-border" id="zhiliaoAdvice">
					<thead>
						<tr>
							<td class="has-input">
								<div class="checkbox">
									<label>
										<input type="checkbox" class="magic-checkbox suspected" >
										<span></span>
									</label>
								</div>
							</td>
							<td></td>
							<td>医嘱内容</td>
							<td>总量</td>
							<td>用法</td>
							<td>医生嘱托</td>
							<td>执行时间</td>
							<td>执行科室</td>
							<td>首日次数</td>
							<td>执行性质</td>
							<td>库存情况</td>
						</tr>
					</thead>
					<tbody id = "zhiliaoAdvice_tbody">
						{{# $.each(d,function(index,item){ }}
						<tr>
							<td class="has-input" style="width:30px">
								<div class="checkbox">
									<label>
										<input type="checkbox" class="magic-checkbox" data-info='{{JSON.stringify(item)}}'>
										<span></span>
									</label>
								</div>
							</td>
							<td>{{item.nbef05?item.nbef05:''}}</td>
							<td style="width:300px">{{item.nbef07?item.nbef07:''}}</td>
							<td>{{item.bef11?item.bef11:''}}</td>
							<td>{{item.fusage?item.fusage:''}}</td>
							<td>{{item.bef15?item.bef15:''}}</td>
							<td>{{item.bef22?item.bef22:''}}</td>
							<td>{{item.bck03?item.bck03:''}}</td>
							<td>{{item.bef24?item.bef24:''}}</td>
							<td>{{item.nbef20?item.nbef20:''}}</td>
							{{# if(item.lsqty <=0.00001){ }}
							<td sytle="background-color:red">{{item.lsqty?item.lsqty:''}}</td>
							{{# } else {}}
							<td>{{item.lsqty?item.lsqty:''}}</td>
							{{# } }}
						</tr>
						{{# }) }}
					</tbody>
				</table>
			</div>
		</div>
	</div>
	<div class="footer_container">
		<button class="btn btn-green" id="save_action_zlfa" onclick="getCheckedAdvice()">确定</button>
		<button class="btn btn-white" id="remove_action_zlfa">取消</button>
	</div>
</div>
